.386
.MODEL FLAT, STDCALL

.CODE

GetASCIIStringLength proc asciiData:dword
	; EAX used as count, EBX as ascii char pointer, EDX (DL) as ascii char
	mov eax, -1
	mov ebx, asciiData
	mov dl, 0
	
BeginLoop:
	inc eax
	mov dl, [ebx]
	inc ebx
	cmp dl, 0
	jne BeginLoop
	
	ret
GetASCIIStringLength endp

END